
import java.util.Scanner;

public class HomeWork09 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int one = scanner.nextInt();
        int two = scanner.nextInt();
        UseCompute useCompute = new UseCompute();
        Compute compute;
        compute = new Add();
        System.out.print("Add:");
        useCompute.useCom(compute,one,two);
        compute = new Min();
        System.out.print("Minus:");
        useCompute.useCom(compute,one,two);
        compute = new Sub();
        System.out.print("Multiply:");
        useCompute.useCom(compute,one,two);
        compute = new Div();
        System.out.print("Divide:");
        useCompute.useCom(compute,one,two);
    }
}
interface Compute{
    int computer(int n, int m);
}
class Add implements Compute{
    public int computer(int n, int m){
        return n+m;
    }
}
class Min implements Compute{
    public int computer(int n,int m){
        return n-m;
    }
}
class Sub implements Compute{
    public int computer(int n,int m){
        return n*m;
    }
}
class Div implements Compute{
    public int computer(int n, int m){
        return n/m;
    }
}
class UseCompute{
    public void useCom(Compute com, int one, int two){
        int ans = com.computer(one,two);
        System.out.println(ans);
    }
}